package project;


public class StockItem 
{
	//attributes
	private String stockId = null;
	private int barcode = 0;
	private String stockTypeId = null;
	private String brand = null;
	private String serialNo = null;
	private String description = null;
	private String catId = null;
	private String title = null;
	private String genre = null;
	private String age = null;
	private int releaseDate = 0;
	private String runTime = null;
	private String director = null;
	private String actor1 = null;
	private String actor2 = null;
	private String status = null;
	private String dateLastRented = null;
	
	
	//constructor
	public StockItem(String stockId, int barcode, String stockTypeId, String brand, String serialNo,
					String description, String catId, String title, String genre, String age,
					int releaseDate, String runTime, String director, String actor1, String actor2,
					String status, String dateLastRented) 
	{
		stockId = this.stockId;
		barcode = this.barcode;
		stockTypeId = this.stockTypeId;
		brand = this.brand;
		serialNo = this.serialNo;
		description = this.description;
		catId = this.catId;
		title = this.title;
		genre = this.genre;
		age = this.age;
		releaseDate = this.releaseDate;
		runTime = this.runTime;
		director = this.director;
		actor1 = this.actor1;
		actor2 = this.actor2;
		status = this.status;
		dateLastRented = this.dateLastRented;
	}//end constructor
	
	//getXXX
	//******
	public String getStockId()
	{
		return stockId;
	}
	public int getBarcode()
	{
		return barcode;
	}
	public String getStockTypeId()
	{
		return stockTypeId;
	}
	public String getBrand()
	{
		return brand;
	}
	public String getSerialNo()
	{
		return serialNo;
	}
	public String getDescription()
	{
		return description;
	}
	public String getCatId()
	{
		return catId;
	}
	public String getTitle()
	{
		return title;
	}
	public String getGenre()
	{
		return genre;
	}
	public String getAge()
	{
		return age;
	}
	public int getReleaseDate()
	{
		return releaseDate;
	}
	public String getRunTime()
	{
		return runTime;
	}
	public String getDirector()
	{
		return director;
	}
	public String getActor1()
	{
		return actor1;
	}
	public String getActor2()
	{
		return actor2;
	}
	public String getStatus()
	{
		return status;
	}
	public String getDateLastRented()
	{
		return dateLastRented;
	}
	
	//setXXX
	public void setStockId(String newStockId)
	{
		stockId = newStockId;
	}
	public void setBarcode(int newBarcode)
	{
		barcode = newBarcode;
	}
	public void setStockTypeId(String newStockTypeId)
	{
		stockTypeId = newStockTypeId;
	}
	public void setBrand(String newBrand)
	{
		brand = newBrand;
	}
	public void setSerialNo(String newSerialNo)
	{
		serialNo = newSerialNo;
	}
	public void setDescription(String newDescription)
	{
		description = newDescription;
	}
	public void setCatId(String newCatId)
	{
		catId = newCatId;
	}
	public void setTitle(String newTitle)
	{
		title = newTitle;
	}
	public void setGenre(String newGenre)
	{
		genre = newGenre;
	}
	public void setAge(String newAge)
	{
		age = newAge;
	}
	public void setReleaseDate(int newReleaseDate)
	{
		releaseDate = newReleaseDate;
	}
	public void setRunTime(String newRunTime)
	{
		runTime = newRunTime;
	}
	public void setDirector(String newDirector)
	{
		director = newDirector;
	}
	public void setActor1(String newActor1)
	{
		actor1 = newActor1;
	}
	public void setActor2(String newActor2)
	{
		actor2 = newActor2;
	}
	public void setStatus(String newStatus)
	{
		status = newStatus;
	}
	public void setDateLastRented(String newDateLastRented)
	{
		dateLastRented = newDateLastRented;
	}
	
}